Other Type Aliases
The following type aliases are available globally.
-
A closure to call when the
NavigationDirections
router has been configured completely.Declaration
Swift
public typealias NavigationDirectionsCompletionHandler = (_ numberOfTiles: UInt64) -> Void
-
A closure to call when an unpacking operation has made some progress.
Declaration
Swift
public typealias UnpackProgressHandler = (_ totalBytes: UInt64, _ remainingBytes: UInt64) -> ()
Parameters
totalBytes
The total size of tile pack in bytes.
remainingBytes
The remaining number of bytes left to download.
-
A closure to call once an unpacking operation has completed.
Declaration
Swift
public typealias UnpackCompletionHandler = (_ numberOfTiles: UInt64, _ error: Error?) -> ()
Parameters
numberOfTiles
The number of tiles that were unpacked.
error
Potential error that occured when trying to unpack.
-
A container view controller is a view controller that behaves as a navigation component; that is, it responds as the user progresses along a route according to the
NavigationServiceDelegate
protocol.Declaration
Swift
public typealias ContainerViewController = UIViewController & NavigationComponent